[SCM] libav/experimental: Free packets read in seek_test.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:02:05 UTC 2013


The following commit has been merged in the experimental branch:
commit f2e033ac84f3259d4ebbdbb7159cbae237f504aa
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Sun Feb 28 11:18:04 2010 +0000

    Free packets read in seek_test.
    
    Originally committed as revision 22110 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/tests/seek_test.c b/tests/seek_test.c
index ac978ba..81a7821 100644
--- a/tests/seek_test.c
+++ b/tests/seek_test.c
@@ -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");

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list