Revision 4618637a

View differences:

ffmpeg.c
3369 3369
    AVStream *st;
3370 3370
    AVOutputStream *ost;
3371 3371
    AVCodecContext *video_enc;
3372
    enum CodecID codec_id;
3372
    enum CodecID codec_id = CODEC_ID_NONE;
3373 3373
    AVCodec *codec= NULL;
3374 3374

  
3375 3375
    st = av_new_stream(oc, oc->nb_streams < nb_streamid_map ? streamid_map[oc->nb_streams] : 0);
......
3516 3516
    AVOutputStream *ost;
3517 3517
    AVCodec *codec= NULL;
3518 3518
    AVCodecContext *audio_enc;
3519
    enum CodecID codec_id;
3519
    enum CodecID codec_id = CODEC_ID_NONE;
3520 3520

  
3521 3521
    st = av_new_stream(oc, oc->nb_streams < nb_streamid_map ? streamid_map[oc->nb_streams] : 0);
3522 3522
    if (!st) {
......
3594 3594
    AVOutputStream *ost;
3595 3595
    AVCodec *codec=NULL;
3596 3596
    AVCodecContext *subtitle_enc;
3597
    enum CodecID codec_id;
3597
    enum CodecID codec_id = CODEC_ID_NONE;
3598 3598

  
3599 3599
    st = av_new_stream(oc, oc->nb_streams < nb_streamid_map ? streamid_map[oc->nb_streams] : 0);
3600 3600
    if (!st) {

Also available in: Unified diff