mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 19:58:59 +00:00
Free packets read in seek_test.
Originally committed as revision 22110 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f65919af7e
commit
f2e033ac84
@ -105,6 +105,7 @@ int main(int argc, char **argv)
|
||||
ts_str(dts_buf, pkt.dts, st->time_base);
|
||||
ts_str(ts_buf, pkt.pts, st->time_base);
|
||||
printf("ret:%-10s st:%2d flags:%d dts:%s pts:%s pos:%7" PRId64 " size:%6d", ret_str(ret), pkt.stream_index, pkt.flags, dts_buf, ts_buf, pkt.pos, pkt.size);
|
||||
av_free_packet(&pkt);
|
||||
} else
|
||||
printf("ret:%s", ret_str(ret)); // necessary to avoid trailing whitespace
|
||||
printf("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user