mirror of https://git.ffmpeg.org/ffmpeg.git
ffprobe: reindent after the previous commit
This commit is contained in:
parent
5626e812d2
commit
9a1963fbb8
16
ffprobe.c
16
ffprobe.c
|
@ -1662,15 +1662,15 @@ static av_always_inline int get_decoded_frame(AVFormatContext *fmt_ctx,
|
|||
|
||||
*got_frame = 0;
|
||||
if (dec_ctx->codec) {
|
||||
switch (dec_ctx->codec_type) {
|
||||
case AVMEDIA_TYPE_VIDEO:
|
||||
ret = avcodec_decode_video2(dec_ctx, frame, got_frame, pkt);
|
||||
break;
|
||||
switch (dec_ctx->codec_type) {
|
||||
case AVMEDIA_TYPE_VIDEO:
|
||||
ret = avcodec_decode_video2(dec_ctx, frame, got_frame, pkt);
|
||||
break;
|
||||
|
||||
case AVMEDIA_TYPE_AUDIO:
|
||||
ret = avcodec_decode_audio4(dec_ctx, frame, got_frame, pkt);
|
||||
break;
|
||||
}
|
||||
case AVMEDIA_TYPE_AUDIO:
|
||||
ret = avcodec_decode_audio4(dec_ctx, frame, got_frame, pkt);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue