# HG changeset patch # User bcoudurier # Date 1212355785 0 # Node ID 230d2edc550246b99124393901a630e8e9a462e1 # Parent ccb0813842ea2e8905a9df5192bd816184be0abc return if bitrate is not specified or too low diff -r ccb0813842ea -r 230d2edc5502 dnxhddata.c --- a/dnxhddata.c Sun Jun 01 20:51:44 2008 +0000 +++ b/dnxhddata.c Sun Jun 01 21:29:45 2008 +0000 @@ -428,6 +428,8 @@ { int i, j; int mbs = avctx->bit_rate/1000000; + if (!mbs) + return 0; for (i = 0; i < sizeof(ff_dnxhd_cid_table)/sizeof(CIDEntry); i++) { const CIDEntry *cid = &ff_dnxhd_cid_table[i]; if (cid->width == avctx->width && cid->height == avctx->height &&