quiet gcc about enum value not handled in switch

Originally committed as revision 6624 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 18 years ago
parent 0bc2e7f081
commit 31903634b6
  1. 1
      libavformat/gxfenc.c

@ -405,6 +405,7 @@ static int gxf_write_umf_track_description(ByteIOContext *pb, GXFContext *ctx)
case CODEC_ID_PCM_S16LE: id= 'A'; break;
case CODEC_ID_DVVIDEO: id= sc->track_type == 6 ? 'E' : 'D'; break;
case CODEC_ID_MJPEG: id= 'V'; break;
default: break;
}
sc->media_info= id << 8;
/* FIXME first 10 audio tracks are 0 to 9 next 22 are A to V */

Loading…
Cancel
Save