diff options
author | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-01-28 22:15:47 +0100 |
---|---|---|
committer | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-02-01 20:37:02 +0100 |
commit | fe9a3fbe42ebe5debd57550313ed4c3a065f1770 (patch) | |
tree | 81adc33f70bf1030ef3cea4e3abe3e99ab4ec2c4 /libavcodec/h264_parser.c | |
parent | e86e858111501650bb9ce8e39282e20c57bac913 (diff) | |
download | ffmpeg-fe9a3fbe42ebe5debd57550313ed4c3a065f1770.tar.gz |
h264: Add Intra and Constrained Baseline profiles to avctx.profile
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){ |