make av_interleaved_write_frame() flush packets when pkt is NULL
authorJindrich Makovicka <jindrich.makovicka@nangu.tv>
Wed, 21 Mar 2012 10:42:32 +0000 (11:42 +0100)
committerMartin Storsjö <martin@martin.st>
Tue, 27 Mar 2012 08:12:55 +0000 (11:12 +0300)
commit904100e5fc13dacc954b1d093bf87bc44f4e7a7b
tree7d5097685665baf50a5000d808c4b02963828c40
parentc9024a9fd7ea7980f876a65816da8da78dd9d88d
make av_interleaved_write_frame() flush packets when pkt is NULL

This patch allows the user to force flushing of all queued packets
by calling av_interleaved_write_frame() with pkt set to NULL.

Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv>
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/avformat.h
libavformat/utils.c