]> git.sesse.net Git - ffmpeg/commit
omx: Don't return > 0 from omx_encode_frame
authorMartin Storsjö <martin@martin.st>
Thu, 23 Jun 2016 22:13:16 +0000 (01:13 +0300)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 25 Jun 2016 19:39:17 +0000 (21:39 +0200)
commita590d344e3164f5616d0fe85daee45dd834c4841
treeed1335ac3d5c7f0dcb1102a4d4e2b62b5ab8be10
parent4cc896ea5f06f8b1ebcde6d876d9c5b59ef9a016
omx: Don't return > 0 from omx_encode_frame

The encode function is supposed to just return 0 on success.
This stems from a mixup with the return value of decode functions.

Reviewed-by: Jan Gerber <j@v2v.cc>
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/omx.c