diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-02-13 00:43:17 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-02-14 05:05:46 +0100 |
commit | 3a0576702825423abecb32627c530dbc4c0f73bc (patch) | |
tree | 54773607d51e7045dc8b11a93a5aa8937be5fdc9 /libavcodec/h264_ps.c | |
parent | 73e8fab31dc19c4371499e612856accbc00b2820 (diff) | |
download | ffmpeg-3a0576702825423abecb32627c530dbc4c0f73bc.tar.gz |
h264: store current_sps_id inside the current sps
In preparation for MVC support.
Diffstat (limited to 'libavcodec/h264_ps.c')
-rw-r--r-- | libavcodec/h264_ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c index 88b973a783..932c27ab06 100644 --- a/libavcodec/h264_ps.c +++ b/libavcodec/h264_ps.c @@ -318,6 +318,7 @@ int ff_h264_decode_seq_parameter_set(H264Context *h) if (!sps) return AVERROR(ENOMEM); + sps->sps_id = sps_id; sps->time_offset_length = 24; sps->profile_idc = profile_idc; sps->constraint_set_flags = constraint_set_flags; @@ -504,7 +505,6 @@ int ff_h264_decode_seq_parameter_set(H264Context *h) av_free(h->sps_buffers[sps_id]); h->sps_buffers[sps_id] = sps; h->sps = *sps; - h->current_sps_id = sps_id; return 0; |