Repository navigation
Commit 3af0ba7
staging: vc04_services: codec: Fix incorrect buffer cleanup
The allocated input and output buffers are initialised in
buf_init and should only be cleared up in buf_cleanup.
stop_streaming was (incorrectly) cleaning up the buffers to
avoid an issue in videobuf2 that had been fixed by the orphaned
buffer support.
Remove the erroneous cleanup.
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>1 parent 72571a3 commit 3af0ba7
1 file changed
Lines changed: 1 addition & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2320 | 2320 | | |
2321 | 2321 | | |
2322 | 2322 | | |
2323 | | - | |
2324 | | - | |
2325 | | - | |
2326 | | - | |
| 2323 | + | |
2327 | 2324 | | |
2328 | 2325 | | |
2329 | 2326 | | |
| |||
2363 | 2360 | | |
2364 | 2361 | | |
2365 | 2362 | | |
2366 | | - | |
2367 | | - | |
2368 | | - | |
2369 | | - | |
2370 | | - | |
2371 | | - | |
2372 | | - | |
2373 | | - | |
2374 | | - | |
2375 | | - | |
2376 | | - | |
2377 | | - | |
2378 | 2363 | | |
2379 | 2364 | | |
2380 | 2365 | | |
| |||
0 commit comments