]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/targa.c
Revert "bitstream: make vlc init of static tables thread safe."
[ffmpeg] / libavcodec / targa.c
index ff4390f675cac660dd0679c6656848c94510c07b..2e51d80b3e2647a83d12a57d2f7c37d50e6de986 100644 (file)
@@ -179,6 +179,7 @@ static int decode_frame(AVCodecContext *avctx,
         avcodec_set_dimensions(avctx, w, h);
     if ((ret = ff_get_buffer(avctx, p, 0)) < 0)
         return ret;
+    p->pict_type = AV_PICTURE_TYPE_I;
 
     if (flags & TGA_TOPTOBOTTOM) {
         dst = p->data[0];