lavf/sdp: add more thorough error handling
authorAnton Khirnov <anton@khirnov.net>
Sat, 4 Dec 2021 17:26:38 +0000 (18:26 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 17 Dec 2021 09:23:07 +0000 (10:23 +0100)
commitfe31708eaa10af42507b8db773d5af5a56e1aff4
tree42a49703c8f7684a85771bf9efbf8050fc9964ca
parentb0518f9977f6019c317e244ae6087db5ffbf0c9d
lavf/sdp: add more thorough error handling

Return error codes when constructing a stream config fails, rather than
just disregarding the failure and continuing.
Propagate the error codes from av_sdp_create().
libavformat/internal.h
libavformat/sdp.c