5 while read -r field equal value; do
6 case "$field $equal" in
8 eval "known_${value%,}=1"
11 done < $srcdir/libavcodec/codec_desc.c
13 known_AV_CODEC_ID_NONE=1
14 known_AV_CODEC_ID_FIRST_AUDIO=1
15 known_AV_CODEC_ID_FIRST_SUBTITLE=1
16 known_AV_CODEC_ID_FIRST_UNKNOWN=1
17 known_AV_CODEC_ID_PROBE=1
18 known_AV_CODEC_ID_MPEG2TS=1
19 known_AV_CODEC_ID_MPEG4SYSTEMS=1
20 known_AV_CODEC_ID_FFMETADATA=1
23 while read -r line; do
25 0-"enum AVCodecID"*) in=1;;
29 eval "known=\$known_$cid"
32 *) echo "$cid missing";;
36 done < $srcdir/libavcodec/avcodec.h