]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggparsetheora.c
avformat/ffmenc: use ff_parse_creation_time_metadata
[ffmpeg] / libavformat / oggparsetheora.c
index 6e6a362e1eba066c3093910e39271d3d97fde9ea..5f057c3c8a2bbfdc9bf9dbb30b7c2276837522eb 100644 (file)
@@ -108,7 +108,7 @@ static int theora_header(AVFormatContext *s, int idx)
             skip_bits(&gb, 2);
 
         thp->gpshift = get_bits(&gb, 5);
-        thp->gpmask  = (1 << thp->gpshift) - 1;
+        thp->gpmask  = (1U << thp->gpshift) - 1;
 
         st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
         st->codec->codec_id   = AV_CODEC_ID_THEORA;