mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
avcodec/extract_extradata_bsf: add missing break statement to extract_extradata_vc1
This commit is contained in:
parent
b613245c97
commit
3fe7bb2bcf
@ -145,8 +145,10 @@ static int extract_extradata_vc1(AVBSFContext *ctx, AVPacket *pkt,
|
||||
ptr = avpriv_find_start_code(ptr, end, &state);
|
||||
if (state == VC1_CODE_SEQHDR || state == VC1_CODE_ENTRYPOINT) {
|
||||
has_extradata = 1;
|
||||
} else if (has_extradata && IS_MARKER(state))
|
||||
} else if (has_extradata && IS_MARKER(state)) {
|
||||
extradata_size = ptr - 4 - pkt->data;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (extradata_size) {
|
||||
|
Loading…
Reference in New Issue
Block a user