Originally committed as revision 18359 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -123,14 +123,14 @@ static int get_codec_data(ByteIOContext *pb, AVStream *vst, · 122 unmodified lines | ||
| 123 | 123 | static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) { |
| 124 | 124 | NUVContext *ctx = s->priv_data; |
| 125 | 125 | ByteIOContext *pb = s->pb; |
| 126 | − char id_string[12], version_string[5]; | |
| 126 | + char id_string[12]; | |
| 127 | 127 | double aspect, fps; |
| 128 | 128 | int is_mythtv, width, height, v_packs, a_packs; |
| 129 | 129 | int stream_nr = 0; |
| 130 | 130 | AVStream *vst = NULL, *ast = NULL; |
| 131 | 131 | get_buffer(pb, id_string, 12); |
| 132 | 132 | is_mythtv = !memcmp(id_string, "MythTVVideo", 12); |
| 133 | − get_buffer(pb, version_string, 5); | |
| 133 | + url_fskip(pb, 5); // version string | |
| 134 | 134 | url_fskip(pb, 3); // padding |
| 135 | 135 | width = get_le32(pb); |
| 136 | 136 | height = get_le32(pb); |