avcodec/bsf: Set EOF flag only in pkt == NULL
authorJan Sebechlebsky <sebechlebskyjan@gmail.com>
Tue, 26 Jul 2016 10:40:07 +0000 (12:40 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 Aug 2016 08:59:50 +0000 (10:59 +0200)
commit7d5501be1e429f77aca26327fbc1ec623e6e21af
tree6f92d87aacfd7f0aaa4177cbb7f9aaef81445aff
parentceab04fb5db89052b3d8abcb57b137de24ed42b0
avcodec/bsf: Set EOF flag only in pkt == NULL

Set BSF EOF flag only if pkt == NULL in av_bsf_send_packet().

Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/bsf.c