diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-19 19:49:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-19 19:49:26 +0200 |
commit | 5bf5e6b1c0fd1aa8f27242b603592ec28ed44cf5 (patch) | |
tree | dcb725abd06b637440fb0cfcc89d5789d17b2440 /libavcodec/h264.c | |
parent | 891307b4d194d4de628da302224c3a97b6f2c840 (diff) | |
download | ffmpeg-5bf5e6b1c0fd1aa8f27242b603592ec28ed44cf5.tar.gz |
avcodec/h264: Use named identifier for single thread fall-back return from ff_h264_decode_slice_header()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index a266718ead..2348d53120 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1727,7 +1727,7 @@ again: if (err < 0) av_log(h->avctx, AV_LOG_ERROR, "decode_slice_header error\n"); h->ref_count[0] = h->ref_count[1] = h->list_count = 0; - } else if (err == 1) { + } else if (err == SLICE_SINGLETHREAD) { /* Slice could not be decoded in parallel mode, copy down * NAL unit stuff to context 0 and restart. Note that * rbsp_buffer is not transferred, but since we no longer |