aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_slice.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-19 19:49:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-19 19:49:26 +0200
commit5bf5e6b1c0fd1aa8f27242b603592ec28ed44cf5 (patch)
treedcb725abd06b637440fb0cfcc89d5789d17b2440 /libavcodec/h264_slice.c
parent891307b4d194d4de628da302224c3a97b6f2c840 (diff)
downloadffmpeg-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_slice.c')
-rw-r--r--libavcodec/h264_slice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 13b1da7abc..a0288e0f85 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -1890,7 +1890,7 @@ int ff_h264_decode_slice_header(H264Context *h, H264Context *h0)
if (h != h0) {
av_log(h->avctx, AV_LOG_ERROR,
"Deblocking switched inside frame.\n");
- return 1;
+ return SLICE_SINGLETHREAD;
}
}
}