Revision ce5e49b0 libavcodec/mxpegdec.c

View differences:

libavcodec/mxpegdec.c
256 256
                        av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
257 257
                        return AVERROR(ENOMEM);
258 258
                    }
259
                    jpg->picture_ptr->pict_type = FF_P_TYPE;
259
                    jpg->picture_ptr->pict_type = AV_PICTURE_TYPE_P;
260 260
                    jpg->picture_ptr->key_frame = 0;
261 261
                    jpg->got_picture = 1;
262 262
                } else {
263
                    jpg->picture_ptr->pict_type = FF_I_TYPE;
263
                    jpg->picture_ptr->pict_type = AV_PICTURE_TYPE_I;
264 264
                    jpg->picture_ptr->key_frame = 1;
265 265
                }
266 266

  

Also available in: Unified diff