diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-12-09 11:54:46 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-12-11 20:39:55 +0100 |
commit | b06c8bce02b15115a4789252365df2dda0c4713c (patch) | |
tree | 4b81eb26f0702acf7c603a47067fa9b25b307f4c /libavcodec | |
parent | 84f131921ffb43d8070d5680e91f6a24d66ccac4 (diff) | |
download | ffmpeg-b06c8bce02b15115a4789252365df2dda0c4713c.tar.gz |
mpegvideo: remove an unneeded call to avcodec_get_frame_defaults().
ff_mpeg_unref_picture() already resets the frame.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 4abf2234d7..55fd935b2f 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -1396,7 +1396,6 @@ int ff_find_unused_picture(MpegEncContext *s, int shared) s->picture[ret].needs_realloc = 0; ff_free_picture_tables(&s->picture[ret]); ff_mpeg_unref_picture(s, &s->picture[ret]); - avcodec_get_frame_defaults(&s->picture[ret].f); } } return ret; |