Re: [FFmpeg-devel] [PATCH 2/4] cbs_mpeg2: Improve checks for invalid values

2019-04-23 Thread James Almer
On 4/23/2019 5:32 PM, Andreas Rheinhardt wrote: > horizontal/vertical_size_value (containing the twelve least significant > bits of the frame size) mustn't be zero according to the specifications; > and the value 0 is forbidden for the colour_description elements. > > Signed-off-by: Andreas Rheinh

[FFmpeg-devel] [PATCH 2/4] cbs_mpeg2: Improve checks for invalid values

2019-04-23 Thread Andreas Rheinhardt
horizontal/vertical_size_value (containing the twelve least significant bits of the frame size) mustn't be zero according to the specifications; and the value 0 is forbidden for the colour_description elements. Signed-off-by: Andreas Rheinhardt --- Given that xui is directly used in the syntax te

Re: [FFmpeg-devel] [PATCH 2/4] cbs_mpeg2: Improve checks for invalid values

2019-04-21 Thread James Almer
On 4/21/2019 11:04 AM, Andreas Rheinhardt wrote: > horizontal/vertical_size_value (containing the twelve least significant > bits of the frame size) mustn't be zero according to the specifications; > and the value 0 is forbidden for the colour_description elements. > > Signed-off-by: Andreas Rhein

[FFmpeg-devel] [PATCH 2/4] cbs_mpeg2: Improve checks for invalid values

2019-04-21 Thread Andreas Rheinhardt
horizontal/vertical_size_value (containing the twelve least significant bits of the frame size) mustn't be zero according to the specifications; and the value 0 is forbidden for the colour_description elements. Signed-off-by: Andreas Rheinhardt --- libavcodec/cbs_mpeg2.c | 17 +++