aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264idct_internal.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-04-17 16:57:55 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-04-19 14:10:03 -0400
commit31d76ec2883c04d29d1f173ea99e605a6936613a (patch)
tree3be48c5afe2efa176f32c504363c09435127b681 /libavcodec/h264idct_internal.h
parentcda7aa9eba79e113c8e46455b81e3f5a047a8d98 (diff)
downloadffmpeg-31d76ec2883c04d29d1f173ea99e605a6936613a.tar.gz
In avcodec_open(), set return code to an error value only when an error occurs
instead of unconditionally at the start of the function. This fixes a bug where a successful call to ff_thread_init() masks errors that occur after that point in the function. It also makes future bugs like this less likely since the error code is now set near to the point in the code where the error is found.
Diffstat (limited to 'libavcodec/h264idct_internal.h')
0 files changed, 0 insertions, 0 deletions