comparison nut.c @ 432:145cd93d0c86 libavformat

set codec_tag
author michael
date Sat, 10 Apr 2004 20:11:00 +0000
parents 983639863758
children 50bae308f71e
comparison
equal deleted inserted replaced
431:fe91c780d26a 432:145cd93d0c86
889 st = av_new_stream(s, stream_id); 889 st = av_new_stream(s, stream_id);
890 if (!st) 890 if (!st)
891 return AVERROR_NOMEM; 891 return AVERROR_NOMEM;
892 class = get_v(bc); 892 class = get_v(bc);
893 tmp = get_vb(bc); 893 tmp = get_vb(bc);
894 st->codec.codec_tag= tmp;
894 switch(class) 895 switch(class)
895 { 896 {
896 case 0: 897 case 0:
897 st->codec.codec_type = CODEC_TYPE_VIDEO; 898 st->codec.codec_type = CODEC_TYPE_VIDEO;
898 st->codec.codec_id = codec_get_bmp_id(tmp); 899 st->codec.codec_id = codec_get_bmp_id(tmp);