Browse Source

mpegvideo: remove an unneeded call to avcodec_get_frame_defaults().

ff_mpeg_unref_picture() already resets the frame.
tags/n2.2-rc1
Anton Khirnov 11 years ago
parent
commit
b06c8bce02
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/mpegvideo.c

+ 0
- 1
libavcodec/mpegvideo.c View File

@@ -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;


Loading…
Cancel
Save