OSDN Git Service

examples/filtering: fix packet memleak
authorGavin Kinsey <gkinsey@ad-holdings.co.uk>
Tue, 26 Jun 2012 17:00:30 +0000 (19:00 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Tue, 26 Jun 2012 17:04:17 +0000 (19:04 +0200)
commit37b5959d9689f5310640c7a0beaa7784c58bfa6f
treea9ab5d52be1adb924963ca8d76648610f4d323c7
parent9ebed95db6c4fece96f56c10f50acf5ec47dc308
examples/filtering: fix packet memleak

Free packets unconditionally after demuxing, and not only when the
packets belong to a given stream.

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
doc/examples/filtering_audio.c
doc/examples/filtering_video.c