diff options
author | James Almer <jamrial@gmail.com> | 2017-05-24 23:31:59 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-05-24 23:31:59 -0300 |
commit | 8ea5ee10a2d6e67676a5c47ea78294a8623c5b2e (patch) | |
tree | 4413f21d152f6726e6436146a1f8cb68b0dca48d | |
parent | 94ec89eb6732c2eb663dfe2f8c2a38d82df2ffbf (diff) | |
download | ffmpeg-8ea5ee10a2d6e67676a5c47ea78294a8623c5b2e.tar.gz |
avcodec/libopenh264dec: fix return error value when h264_mp4toannexb_bsf is not found
-rw-r--r-- | libavcodec/libopenh264dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libopenh264dec.c b/libavcodec/libopenh264dec.c index 26cc8db9d1..a362be7e23 100644 --- a/libavcodec/libopenh264dec.c +++ b/libavcodec/libopenh264dec.c @@ -116,7 +116,7 @@ static int init_bsf(AVCodecContext *avctx) // packets through unchanged. filter = av_bsf_get_by_name("h264_mp4toannexb"); if (!filter) - return AVERROR_BUG; + return AVERROR_BSF_NOT_FOUND; ret = av_bsf_alloc(filter, &s->bsf); if (ret < 0) |