aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-11-13 11:33:26 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-11-13 11:33:26 +0000
commit74e8b78b20731511ef797f895f7555eb0f976210 (patch)
treea30f8ad5b0e9b8cb37ea66094239eb94d778e453 /libavcodec
parent3f3ca7ac076a276471439e8f6e82710630703fe1 (diff)
downloadffmpeg-74e8b78b20731511ef797f895f7555eb0f976210.tar.gz
Fix H.264 decoding.
(Problem analyzed by Uoti Urpala) Originally committed as revision 15816 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 426a3b8639..915c0785ad 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -7338,7 +7338,7 @@ static void execute_decode_slices(H264Context *h, int context_count){
int i;
if(context_count == 1) {
- decode_slice(avctx, h);
+ decode_slice(avctx, &h);
} else {
for(i = 1; i < context_count; i++) {
hx = h->thread_context[i];