OSDN Git Service

lavd/lavfi: compute and use the used samples buffer size for the output audio packet...
authorStefano Sabatini <stefasab@gmail.com>
Sun, 16 Oct 2011 08:35:07 +0000 (10:35 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 16 Oct 2011 19:18:44 +0000 (21:18 +0200)
commit477718f40b3d8fddfb3ee3bea1125fe56986c7e6
tree7df8c5a024d5c05d420e68918bd951eda03cafbe
parent6bca574a98ba604459f6ee92538b19d25bba0973
lavd/lavfi: compute and use the used samples buffer size for the output audio packet size

Do not assume the used size is the same of the allocated size, as it was
wrongly assumed. Fix audio playback when the two values differ.
libavdevice/lavfi.c