ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Wed Apr 10 15:26:30 2019 -0300| [53cc3338f7b24cda40ad8a69e12b37e7335f37ff] | committer: James Almer
avcodec/h264_ps: fix storage size for offset_for_ref_frame The spec defines the valid range of values to be INT32_MIN + 1 to INT32_MAX, inclusive. Reviewed-by: Mark Thompson <s...@jkqxz.net> Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=53cc3338f7b24cda40ad8a69e12b37e7335f37ff --- libavcodec/h264_ps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264_ps.h b/libavcodec/h264_ps.h index e967b9cbcf..9014326dfb 100644 --- a/libavcodec/h264_ps.h +++ b/libavcodec/h264_ps.h @@ -81,7 +81,7 @@ typedef struct SPS { uint32_t num_units_in_tick; uint32_t time_scale; int fixed_frame_rate_flag; - short offset_for_ref_frame[256]; // FIXME dyn aloc? + int32_t offset_for_ref_frame[256]; int bitstream_restriction_flag; int num_reorder_frames; int scaling_matrix_present; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".