History

avformat/mlvdec: process VERS block

Peter Ross committed 1 year ago

Commit 45c30bc1 parent 86dd15f1 file · +4 −0Browse files

Showing the changes to libavformat (1 of 1 file). Show all

Unified · Split

libavformat/mlvdec.c+4−0
@@ -261,6 +261,10 @@ static int scan_file(AVFormatContext *avctx, AVStream *vst, AVStream *ast, int f · 260 unmodified lines
261 read_uint32(avctx, pb, "colortone", "%"PRIi32);261 read_uint32(avctx, pb, "colortone", "%"PRIi32);
262 read_string(avctx, pb, "picStyleName", 16);262 read_string(avctx, pb, "picStyleName", 16);
263 size -= 36;263 size -= 36;
264 } else if (type == MKTAG('V','E','R','S') && size >= 4) {
265 unsigned int length = avio_rl32(pb);
266 read_string(avctx, pb, "version", length);
267 size -= length + 4;
264 } else if (type == MKTAG('M','A','R','K')) {268 } else if (type == MKTAG('M','A','R','K')) {
265 } else if (type == MKTAG('N','U','L','L')) {269 } else if (type == MKTAG('N','U','L','L')) {
266 } else if (type == MKTAG('M','L','V','I')) { /* occurs when MLV and Mnn files are concatenated */270 } else if (type == MKTAG('M','L','V','I')) { /* occurs when MLV and Mnn files are concatenated */

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