diff options
author | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-01-28 22:15:47 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-02 03:40:50 +0100 |
commit | 94e3e83f13bcf45a6447c007ba06da1a3b896605 (patch) | |
tree | 416719ae1649399facd1c9eb5801601fa1511a60 /libavcodec/h264_parser.c | |
parent | 8a92ec71b3dfc42ce4f34be79facade397db0f70 (diff) | |
download | ffmpeg-94e3e83f13bcf45a6447c007ba06da1a3b896605.tar.gz |
h264: Add Intra and Constrained Baseline profiles to avctx.profile
(cherry picked from commit fe9a3fbe42ebe5debd57550313ed4c3a065f1770)
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r-- | libavcodec/h264_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 51760dcf68..c5728e2678 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -187,7 +187,7 @@ static inline int parse_nal_units(AVCodecParserContext *s, h->sps = *h->sps_buffers[h->pps.sps_id]; h->frame_num = get_bits(&h->s.gb, h->sps.log2_max_frame_num); - avctx->profile = h->sps.profile_idc; + avctx->profile = ff_h264_get_profile(&h->sps); avctx->level = h->sps.level_idc; if(h->sps.frame_mbs_only_flag){ |