History

Replace remaining occurances of av_free_packet with av_packet_unref

Hendrik Leppkes committed 11 years ago

Commit c2f861c1 parent 7f5af8059 files · +99 −99Browse files

Showing the changes to doc/examples/decoding_encoding.c (1 of 59 files). Show all

Unified · Split

doc/examples/decoding_encoding.c+1−1
@@ -211,7 +211,7 @@ static void audio_encode_example(const char *filename) · 210 unmodified lines
211 }211 }
212 if (got_output) {212 if (got_output) {
213 fwrite(pkt.data, 1, pkt.size, f);213 fwrite(pkt.data, 1, pkt.size, f);
214 av_free_packet(&pkt);214 av_packet_unref(&pkt);
215 }215 }
216 }216 }
217 217

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t