[FFmpeg-cvslog] avcodec/libopenh264dec: fix return error value when h264_mp4toannexb_bsf is not found
James Almer
git at videolan.org
Thu May 25 05:33:19 EEST 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed May 24 23:31:59 2017 -0300| [8ea5ee10a2d6e67676a5c47ea78294a8623c5b2e] | committer: James Almer
avcodec/libopenh264dec: fix return error value when h264_mp4toannexb_bsf is not found
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8ea5ee10a2d6e67676a5c47ea78294a8623c5b2e
---
libavcodec/libopenh264dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
More information about the ffmpeg-cvslog
mailing list