flvdec: remove duplicate return

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/28/head
Michael Niedermayer 12 years ago
parent 0b7d12e840
commit d7587ba1c6
  1. 4
      libavformat/flvdec.c

@ -126,8 +126,6 @@ static int flv_same_audio_codec(AVCodecContext *acodec, int flags)
default:
return acodec->codec_tag == (flv_codecid >> FLV_AUDIO_CODECID_OFFSET);
}
return 0;
}
static void flv_set_audio_codec(AVFormatContext *s, AVStream *astream, AVCodecContext *acodec, int flv_codecid) {
@ -198,8 +196,6 @@ static int flv_same_video_codec(AVCodecContext *vcodec, int flags)
default:
return vcodec->codec_tag == flv_codecid;
}
return 0;
}
static int flv_set_video_codec(AVFormatContext *s, AVStream *vstream, int flv_codecid) {

Loading…
Cancel
Save