diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jogl/native/libav/ffmpeg_impl_template.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/native/libav/ffmpeg_impl_template.c b/src/jogl/native/libav/ffmpeg_impl_template.c index e3a1590f4..93053e885 100644 --- a/src/jogl/native/libav/ffmpeg_impl_template.c +++ b/src/jogl/native/libav/ffmpeg_impl_template.c @@ -992,6 +992,9 @@ JNIEXPORT void JNICALL FF_FUNC(setStream0) if( AV_STREAM_ID_AUTO == pAV->vid ) { pAV->vid = AV_STREAM_ID_NONE; } + if( AV_STREAM_ID_AUTO == pAV->sid ) { + pAV->sid = AV_STREAM_ID_NONE; + } if( pAV->verbose ) { fprintf(stderr, "Found vid %d, aid %d, sid %d\n", pAV->vid, pAV->aid, pAV->sid); |