Guest User

Untitled

a guest
Sep 16th, 2016
12
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
  2. index 0fa38f3..36f2aca 100644
  3. --- a/ffmpeg_opt.c
  4. +++ b/ffmpeg_opt.c
  5. @@ -820,6 +820,12 @@ static void add_input_streams(OptionsContext *o, AVFormatContext *ic)
  6.          default:
  7.              abort();
  8.          }
  9. +
  10. +        ret = avcodec_parameters_from_context(par, ist->dec_ctx);
  11. +        if (ret < 0) {
  12. +            av_log(NULL, AV_LOG_ERROR, "Error initializing the decoder context.\n");
  13. +            exit_program(1);
  14. +        }
  15.      }
  16.  }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×