[FFmpeg-cvslog] avformat/segafilmenc: Fix undefined left shift of 1 by 31 places
ffmpeg | branch: release/4.0 | Andreas Rheinhardt | Tue Jan 14 04:13:30 2020 +0100| [2f16093b82dd7ed296c8aab81dce90524a31290b] | committer: Andreas Rheinhardt avformat/segafilmenc: Fix undefined left shift of 1 by 31 places by changing the type to unsigned. Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer (cherry picked from commit 8ae026d74f599b2d00b91798af1c1067a879007c) Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2f16093b82dd7ed296c8aab81dce90524a31290b --- libavformat/segafilmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segafilmenc.c b/libavformat/segafilmenc.c index 5b0d7e69e8..8f44a671dc 100644 --- a/libavformat/segafilmenc.c +++ b/libavformat/segafilmenc.c @@ -70,7 +70,7 @@ static int film_write_packet_to_header(AVFormatContext *format_context, FILMPack info2 = pkt->duration; /* The top bit being set indicates a key frame */ if (pkt->keyframe) -info1 |= (1 << 31); +info1 |= 1U << 31; } /* Write the 16-byte sample info packet to the STAB chunk in the header */ ___ 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".
[FFmpeg-cvslog] avformat/segafilmenc: Fix undefined left shift of 1 by 31 places
ffmpeg | branch: release/4.1 | Andreas Rheinhardt | Tue Jan 14 04:13:30 2020 +0100| [84abf2ee322a31774ec9a6935892900af7244cfe] | committer: Andreas Rheinhardt avformat/segafilmenc: Fix undefined left shift of 1 by 31 places by changing the type to unsigned. Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer (cherry picked from commit 8ae026d74f599b2d00b91798af1c1067a879007c) Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=84abf2ee322a31774ec9a6935892900af7244cfe --- libavformat/segafilmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segafilmenc.c b/libavformat/segafilmenc.c index 524230e461..7aad8084a5 100644 --- a/libavformat/segafilmenc.c +++ b/libavformat/segafilmenc.c @@ -70,7 +70,7 @@ static int film_write_packet_to_header(AVFormatContext *format_context, FILMPack info2 = pkt->duration; /* The top bit being set indicates a key frame */ if (!pkt->keyframe) -info1 |= (1 << 31); +info1 |= 1U << 31; } /* Write the 16-byte sample info packet to the STAB chunk in the header */ ___ 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".
[FFmpeg-cvslog] avformat/segafilmenc: Fix undefined left shift of 1 by 31 places
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Tue Jan 14 04:13:30 2020 +0100| [95d2ae971000d5388bdec996eb7aacc627d5a997] | committer: Andreas Rheinhardt avformat/segafilmenc: Fix undefined left shift of 1 by 31 places by changing the type to unsigned. Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer (cherry picked from commit 8ae026d74f599b2d00b91798af1c1067a879007c) > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=95d2ae971000d5388bdec996eb7aacc627d5a997 --- libavformat/segafilmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segafilmenc.c b/libavformat/segafilmenc.c index 524230e461..7aad8084a5 100644 --- a/libavformat/segafilmenc.c +++ b/libavformat/segafilmenc.c @@ -70,7 +70,7 @@ static int film_write_packet_to_header(AVFormatContext *format_context, FILMPack info2 = pkt->duration; /* The top bit being set indicates a key frame */ if (!pkt->keyframe) -info1 |= (1 << 31); +info1 |= 1U << 31; } /* Write the 16-byte sample info packet to the STAB chunk in the header */ ___ 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".
[FFmpeg-cvslog] avformat/segafilmenc: Fix undefined left shift of 1 by 31 places
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 14 04:13:30 2020 +0100| [8ae026d74f599b2d00b91798af1c1067a879007c] | committer: Michael Niedermayer avformat/segafilmenc: Fix undefined left shift of 1 by 31 places by changing the type to unsigned. Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8ae026d74f599b2d00b91798af1c1067a879007c --- libavformat/segafilmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segafilmenc.c b/libavformat/segafilmenc.c index 812d0ad64e..d721ec38fa 100644 --- a/libavformat/segafilmenc.c +++ b/libavformat/segafilmenc.c @@ -70,7 +70,7 @@ static int film_write_packet_to_header(AVFormatContext *format_context, FILMPack info2 = pkt->duration; /* The top bit being set indicates a key frame */ if (!pkt->keyframe) -info1 |= (1 << 31); +info1 |= 1U << 31; } /* Write the 16-byte sample info packet to the STAB chunk in the header */ ___ 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".