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)
committerMartin Storsjö <martin@martin.st>
Fri, 24 Jun 2016 19:30:54 +0000 (22:30 +0300)
commit0c9c4004ed57de210b4d83c7b39bbfb00b86b9af
treed6fb874a835b952d521bdf3c928dcc8945f2134e
parent31aa5335c390c83a6c3ea955b155067c36c4a2c4
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.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/omx.c