1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avformat/dvdvideodec: remove unused has_cc field

Signed-off-by: Marth64 <marth64@proxyid.net>
This commit is contained in:
Marth64
2025-06-14 11:34:42 -05:00
parent f66ae1ba24
commit 693703bcdb

View File

@ -80,7 +80,6 @@ typedef struct DVDVideoVTSVideoStreamEntry {
int height;
AVRational dar;
AVRational framerate;
int has_cc;
} DVDVideoVTSVideoStreamEntry;
typedef struct DVDVideoPGCAudioStreamEntry {
@ -1048,7 +1047,6 @@ static int dvdvideo_video_stream_analyze(AVFormatContext *s, video_attr_t video_
entry->height = height;
entry->dar = video_attr.display_aspect_ratio ? (AVRational) { 16, 9 } : (AVRational) { 4, 3 };
entry->framerate = framerate;
entry->has_cc = !is_pal && (video_attr.line21_cc_1 || video_attr.line21_cc_2);
return 0;
}