Unfortunately this was not explicitly documented and thus might be risky. But all uses I could find in FFmpeg and one in VLC had a memleak in these cases, and I could not find any that relied on the previous behaviour.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -15,6 +15,11 @@ libavutil: 2014-08-09 · 14 unmodified lines | |||
| 15 | 15 | ||
| 16 | API changes, most recent first: | 16 | API changes, most recent first: |
| 17 | 17 | ||
| 18 | 2014-08-23 - xxxxxxx - lavu 54.7.100 - dict.h | ||
| 19 | AV_DICT_DONT_STRDUP_KEY and AV_DICT_DONT_STRDUP_VAL arguments are now | ||
| 20 | freed even on error. This is consistent with the behaviour all users | ||
| 21 | of it we could find expect. | ||
| 22 | |||
| 18 | 2014-08-21 - 980a5b0 - lavu 54.6.100 - frame.h motion_vector.h | 23 | 2014-08-21 - 980a5b0 - lavu 54.6.100 - frame.h motion_vector.h |
| 19 | Add AV_FRAME_DATA_MOTION_VECTORS side data and AVMotionVector structure | 24 | Add AV_FRAME_DATA_MOTION_VECTORS side data and AVMotionVector structure |
| 20 | 25 | ||