]> git.sesse.net Git - ffmpeg/commit
avformat/utils: do not overwrite already existing program with defaults in av_new_program
authorMarton Balint <cus@passwd.hu>
Sun, 27 Dec 2020 19:32:54 +0000 (20:32 +0100)
committerMarton Balint <cus@passwd.hu>
Sat, 9 Jan 2021 21:38:12 +0000 (22:38 +0100)
commit9298e8eb61f6c796aaf7c6e14e59f345318d2753
tree6f558bf2d6e5d8a0c48b24a052be24d40174610e
parent91e1625db15fe8853ceedca9eed14307aaa514c7
avformat/utils: do not overwrite already existing program with defaults in av_new_program

av_new_program returns the existing program if that already exists, in that
case it makes no sense to overwrite existing attributes.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/utils.c