Files
FFmpeg/libavformat
Andreas Rheinhardt a162fa0772 avformat/yuv4mpegenc: Simplify writing global and packet headers
YUV4MPEG writes a string as header for both the file itself as well as
for every frame; these strings contain magic strings and these were up
until now included in the string to write via %s. Yet they are compile
time constants, so one can use the compile-time string concatentation
instead of inserting these strings at runtime.
Furthermore, the global header has been written via snprintf() to
a local buffer first before writing it. This can be simplified by using
avio_printf().

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-09-04 17:34:26 +02:00
..
2019-12-12 19:25:33 +01:00
2020-09-03 18:11:00 +02:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2017-09-20 03:31:48 +02:00
2017-09-01 18:52:56 +08:00
2020-03-17 16:05:49 +01:00
2019-12-25 22:10:47 +01:00
2020-06-22 12:19:56 +02:00
2019-12-12 19:25:33 +01:00
2020-03-17 16:04:42 +01:00
2020-03-17 16:08:13 +01:00
2020-08-18 07:03:00 +02:00
2020-09-04 16:01:53 +02:00
2020-05-31 00:55:12 +02:00
2020-09-03 18:11:00 +02:00
2020-06-18 21:31:13 +02:00
2019-10-08 13:47:16 +08:00
2020-09-03 18:11:00 +02:00
2020-09-03 18:10:28 +02:00
2019-12-12 19:25:33 +01:00
2020-04-19 02:37:46 +02:00
2020-09-03 18:03:18 +02:00
2019-12-12 19:25:33 +01:00
2020-03-17 22:46:36 +01:00
2019-12-12 19:25:33 +01:00
2020-06-06 00:25:00 +02:00
2020-06-06 00:25:00 +02:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2020-05-19 20:09:25 +02:00
2020-02-16 12:54:57 +01:00
2017-04-25 15:39:10 +02:00
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2018-05-21 19:43:04 -03:00
2018-05-21 19:43:04 -03:00
2019-03-20 18:38:48 +01:00
2017-01-30 11:00:58 +01:00
2020-06-04 10:52:42 +02:00
2020-06-13 00:43:09 +02:00
2020-09-03 18:11:00 +02:00
2020-02-20 14:41:26 +01:00
2020-03-12 18:47:39 +01:00
2020-07-26 16:47:01 +02:00