Browse Source

ffmpeg: init icodec.

With complex filter graphs, it can end up accessed
without having been set.
tags/n1.0
Nicolas George 13 years ago
parent
commit
fbaa8fe6c6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffmpeg.c

+ 1
- 1
ffmpeg.c View File

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