ffmpeg: init icodec.

With complex filter graphs, it can end up accessed
without having been set.
pull/59/head
Nicolas George 13 years ago
parent 8362d734a3
commit fbaa8fe6c6
  1. 2
      ffmpeg.c

@ -2747,7 +2747,7 @@ static int transcode_init(void)
{ {
int ret = 0, i, j, k; int ret = 0, i, j, k;
AVFormatContext *oc; AVFormatContext *oc;
AVCodecContext *codec, *icodec; AVCodecContext *codec, *icodec = NULL;
OutputStream *ost; OutputStream *ost;
InputStream *ist; InputStream *ist;
char error[1024]; char error[1024];

Loading…
Cancel
Save