Mercurial > libavcodec.hg
comparison h264.h @ 11790:f918fb753b31 libavcodec
Parse avctx->extradata if available.
Fixes many "non-existing PPS referenced" error messages
author | hyc |
---|---|
date | Fri, 28 May 2010 18:50:39 +0000 |
parents | 82a880c86afd |
children | 51abd780bda6 |
comparison
equal
deleted
inserted
replaced
11789:2064f8a1691e | 11790:f918fb753b31 |
---|---|
463 * Used to parse AVC variant of h264 | 463 * Used to parse AVC variant of h264 |
464 */ | 464 */ |
465 int is_avc; ///< this flag is != 0 if codec is avc1 | 465 int is_avc; ///< this flag is != 0 if codec is avc1 |
466 int nal_length_size; ///< Number of bytes used for nal length (1, 2 or 4) | 466 int nal_length_size; ///< Number of bytes used for nal length (1, 2 or 4) |
467 | 467 |
468 int first_picture; | |
468 SPS *sps_buffers[MAX_SPS_COUNT]; | 469 SPS *sps_buffers[MAX_SPS_COUNT]; |
469 PPS *pps_buffers[MAX_PPS_COUNT]; | 470 PPS *pps_buffers[MAX_PPS_COUNT]; |
470 | 471 |
471 int dequant_coeff_pps; ///< reinit tables when pps changes | 472 int dequant_coeff_pps; ///< reinit tables when pps changes |
472 | 473 |