History

lavf: Make codec_tag arrays constant

Ronald S. Bultje committed 14 years ago

Commit 67ffcb91 parent 89ffd182 files · +2 −2Browse files

Unified · Split

2 files
  1. libavformat/cafdec.c +1 −1
  2. libavformat/ivfdec.c +1 −1
libavformat/cafdec.c+1−1
@@ -394,5 +394,5 @@ AVInputFormat ff_caf_demuxer = { · 393 unmodified lines
394394 .read_header = read_header,
395395 .read_packet = read_packet,
396396 .read_seek = read_seek,
397− .codec_tag = (const AVCodecTag*[]){ ff_codec_caf_tags, 0 },
397+ .codec_tag = (const AVCodecTag* const []){ ff_codec_caf_tags, 0 },
398398 };
libavformat/ivfdec.c+1−1
@@ -87,5 +87,5 @@ AVInputFormat ff_ivf_demuxer = { · 86 unmodified lines
8787 .read_header = read_header,
8888 .read_packet = read_packet,
8989 .flags = AVFMT_GENERIC_INDEX,
90− .codec_tag = (const AVCodecTag*[]){ ff_codec_bmp_tags, 0 },
90+ .codec_tag = (const AVCodecTag* const []){ ff_codec_bmp_tags, 0 },
9191 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t