Commit de6a1e32 authored by Timo Rothenpieler's avatar Timo Rothenpieler

movenc-test: fix potential uninitialized read

Fixes CID #1413023
parent c7ded42d
...@@ -115,6 +115,7 @@ static int io_write_data_type(void *opaque, uint8_t *buf, int size, ...@@ -115,6 +115,7 @@ static int io_write_data_type(void *opaque, uint8_t *buf, int size,
case AVIO_DATA_MARKER_BOUNDARY_POINT: str = "boundary"; break; case AVIO_DATA_MARKER_BOUNDARY_POINT: str = "boundary"; break;
case AVIO_DATA_MARKER_UNKNOWN: str = "unknown"; break; case AVIO_DATA_MARKER_UNKNOWN: str = "unknown"; break;
case AVIO_DATA_MARKER_TRAILER: str = "trailer"; break; case AVIO_DATA_MARKER_TRAILER: str = "trailer"; break;
default: str = "unknown"; break;
} }
if (time == AV_NOPTS_VALUE) if (time == AV_NOPTS_VALUE)
snprintf(timebuf, sizeof(timebuf), "nopts"); snprintf(timebuf, sizeof(timebuf), "nopts");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment