Commit 8972e11e authored by Rafaël Carré's avatar Rafaël Carré

avformat: set bits per pixel for video codecs

Fix decoding of MSRLE samples with avformat demuxer
parent 5f1111b2
......@@ -304,6 +304,7 @@ int OpenDemux( vlc_object_t *p_this )
es_format_Init( &fmt, VIDEO_ES, fcc ); = cc->bits_per_coded_sample;
/* Special case for raw video data */
if( cc->codec_id == AV_CODEC_ID_RAWVIDEO )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment