diff options
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index 0f97c259cb..38b423101c 100644 --- a/libavcodec/bsf.c +++ b/libavcodec/bsf.c @@ -174,7 +174,7 @@ int av_bsf_init(AVBSFContext *ctx) int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt) { - if (!pkt) { + if (!pkt || (!pkt->data && !pkt->side_data_elems)) { ctx->internal->eof = 1; return 0; } |