aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/x86/vf_interlace.asm
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-03-27 14:25:53 +0200
committerwm4 <nfxjfg@googlemail.com>2017-03-29 12:17:40 +0200
commit4cf1f68903cebcf6a6bede970f1b8f1509edf710 (patch)
treeaf29b7dbb110c56bdd6070ba84bb43859f88924a /libavfilter/x86/vf_interlace.asm
parent91ccd38c0befb17d788c1621d1d4362dc1c40bd6 (diff)
downloadffmpeg-4cf1f68903cebcf6a6bede970f1b8f1509edf710.tar.gz
pthread_frame: minor simplification to error handling
Get rid of the "ret" variable, and always use err. Report the packet as consumed if err is unset. This should be equivalent to the old code, which obviously required err=0 for p->result>=0 (and otherwise, p->result must have had the value err was last set to). The code block added by commit 32a5b631267 is also not needed anymore, because the new code strictly returns err if it's >=0. Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Diffstat (limited to 'libavfilter/x86/vf_interlace.asm')
0 files changed, 0 insertions, 0 deletions