[vlc-commits] aom: decoder_UpdateVideoFormat() doesn't return VLC_SUCCESS but 0/-1
Steve Lhomme
git at videolan.org
Thu Jun 6 15:34:11 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jan 15 12:54:11 2019 +0100| [e1d543523093dbac94ef3871b5c8fb119d61a159] | committer: Steve Lhomme
aom: decoder_UpdateVideoFormat() doesn't return VLC_SUCCESS but 0/-1
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1d543523093dbac94ef3871b5c8fb119d61a159
---
modules/codec/aom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/aom.c b/modules/codec/aom.c
index e4f26c3916..d4015a5dc4 100644
--- a/modules/codec/aom.c
+++ b/modules/codec/aom.c
@@ -235,7 +235,7 @@ static void OutputFrame(decoder_t *dec, const struct aom_image *img)
dec->fmt_out.video.multiview_mode = dec->fmt_in.video.multiview_mode;
dec->fmt_out.video.pose = dec->fmt_in.video.pose;
- if (decoder_UpdateVideoFormat(dec) == VLC_SUCCESS)
+ if (decoder_UpdateVideoFormat(dec) == 0)
{
picture_t *pic = decoder_NewPicture(dec);
if (pic)
More information about the vlc-commits
mailing list