examples/remuxing: Fix use of uninitialized value
Fixes Coverity ticket 1492326. Regression since 53f374c08d5cc97158c17ea34b1c8ee0116c0578. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
5e1b5b52fe
commit
b6aeee2d8b
@ -68,7 +68,7 @@ int main(int argc, char **argv)
|
|||||||
pkt = av_packet_alloc();
|
pkt = av_packet_alloc();
|
||||||
if (!pkt) {
|
if (!pkt) {
|
||||||
fprintf(stderr, "Could not allocate AVPacket\n");
|
fprintf(stderr, "Could not allocate AVPacket\n");
|
||||||
goto end;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((ret = avformat_open_input(&ifmt_ctx, in_filename, 0, 0)) < 0) {
|
if ((ret = avformat_open_input(&ifmt_ctx, in_filename, 0, 0)) < 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user