diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index 88b7f29fe5..9b9ada796c 100644 --- a/libavcodec/bsf.c +++ b/libavcodec/bsf.c @@ -172,7 +172,7 @@ int av_bsf_init(AVBSFContext *ctx) int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt) { - if (!pkt || !pkt->data) { + if (!pkt) { ctx->internal->eof = 1; return 0; }