Commit c0e97b5c authored by reimar's avatar reimar

Free packets read in seek_test.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22110 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4b04aac9
...@@ -105,6 +105,7 @@ int main(int argc, char **argv) ...@@ -105,6 +105,7 @@ int main(int argc, char **argv)
ts_str(dts_buf, pkt.dts, st->time_base); ts_str(dts_buf, pkt.dts, st->time_base);
ts_str(ts_buf, pkt.pts, 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); 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 } else
printf("ret:%s", ret_str(ret)); // necessary to avoid trailing whitespace printf("ret:%s", ret_str(ret)); // necessary to avoid trailing whitespace
printf("\n"); printf("\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment