[FFmpeg-cvslog] r11275 - trunk/libavcodec/h264.c
cehoyos
subversion
Thu Dec 20 00:03:53 CET 2007
Author: cehoyos
Date: Thu Dec 20 00:03:52 2007
New Revision: 11275
Log:
Fix problem with multithreaded decoding, introduced by r11214.
Patch by Reinhard Nissl: rnissl gmx de
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Thu Dec 20 00:03:52 2007
@@ -3849,7 +3849,7 @@ static int decode_slice_header(H264Conte
h->slice_type= slice_type;
s->pict_type= h->slice_type; // to make a few old func happy, it's wrong though
- if (s->pict_type == B_TYPE && s->last_picture_ptr == NULL) {
+ if (s->pict_type == B_TYPE && s0->last_picture_ptr == NULL) {
av_log(h->s.avctx, AV_LOG_ERROR,
"B picture before any references, skipping\n");
return -1;
More information about the ffmpeg-cvslog
mailing list