Must cast codec

This commit is contained in:
Isaac Connor 2017-02-21 16:28:53 -05:00
parent 0880412e7f
commit e723b6dbef
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ VideoStore::VideoStore(const char *filename_in, const char *format_in,
fmt = oc->oformat;
video_st = avformat_new_stream(oc, input_st->codec->codec);
video_st = avformat_new_stream(oc, (AVCodec *)input_st->codec->codec);
if (!video_st) {
Fatal("Unable to create video out stream\n");
}