Skip to content
Snippets Groups Projects
Commit c949d5b1 authored by Nicolas Noirbent's avatar Nicolas Noirbent Committed by Michael Niedermayer
Browse files

ffmpeg.c: transcode_video(): do not go through filter network if encoding is not required


This fixes a segmentation fault when doing a transcoding and a stream
copy of the same input stream at the same time, e.g.:

ffmpeg -i in.mkv -c:v mpeg2video transcode.m2v -c copy copy.ts

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 62a22b28
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment