diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-03-21 16:14:31 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-04-24 10:06:24 +0200 |
commit | c8dcff0cdb17d0aa03ac729eba12d1a20f1f59c8 (patch) | |
tree | b86b624464e77fe4d82a4ccef0b5fec64ff639c7 /libavcodec/h264_refs.c | |
parent | 113aeee6aed35cb786a9f6d69b0cb210f498b9da (diff) | |
download | ffmpeg-c8dcff0cdb17d0aa03ac729eba12d1a20f1f59c8.tar.gz |
h264: factor out calculating the POC count into a separate file
This will allow decoupling the parser from the decoder.
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r-- | libavcodec/h264_refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index e0a9334806..08c3bffaf1 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -656,7 +656,7 @@ int ff_h264_execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count) for (j = 0; j < 16; j++) { remove_long(h, j, 0); } - h->frame_num = h->cur_pic_ptr->frame_num = 0; + h->poc.frame_num = h->cur_pic_ptr->frame_num = 0; h->mmco_reset = 1; h->cur_pic_ptr->mmco_reset = 1; break; |