]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ra288.c
avformat/mux: factorize interleaved write_packet
[ffmpeg] / libavcodec / ra288.c
index f1b3c8eab55f63923ae17fb5a1496eda3f65d2a6..aa4bd5d90fae82d8c02f6b969722a21f83f895c0 100644 (file)
@@ -77,7 +77,7 @@ static av_cold int ra288_decode_init(AVCodecContext *avctx)
     avctx->channel_layout = AV_CH_LAYOUT_MONO;
     avctx->sample_fmt     = AV_SAMPLE_FMT_FLT;
 
-    if (avctx->block_align <= 0) {
+    if (avctx->block_align != 38) {
         av_log(avctx, AV_LOG_ERROR, "unsupported block align\n");
         return AVERROR_PATCHWELCOME;
     }