Revision 01f5b9c5

View differences:

libavcodec/h264_parser.c
270 270
            assert(pc->last_index + next >= 0 );
271 271
            ff_h264_find_frame_end(h, &pc->buffer[pc->last_index + next], -next); //update state
272 272
        }
273
    }
273 274

  
274 275
        parse_nal_units(s, avctx, buf, buf_size);
275 276

  
......
282 283
            s->dts_ref_dts_delta = INT_MIN;
283 284
            s->pts_dts_delta     = INT_MIN;
284 285
        }
286

  
285 287
        if (s->flags & PARSER_FLAG_ONCE) {
286 288
            s->flags &= PARSER_FLAG_COMPLETE_FRAMES;
287 289
        }
288
    }
289 290

  
290 291
    *poutbuf = buf;
291 292
    *poutbuf_size = buf_size;

Also available in: Unified diff